package com.dic.common.utils.helper;

import lombok.Data;

import java.util.List;

@Data
public class Pager<T> implements java.io.Serializable {
    
	private static final long serialVersionUID = 1L;
	
	private long pageCount; //总页数
	private long rowCount; //总条数
    private List<T> pageList; //列表
  
    public Pager(long pageCount, long rowCount, List<T> pageList){
    	this.setPageCount(pageCount);
    	this.setRowCount(rowCount);
    	this.setPageList(pageList);
     }      

}